<!DOCTYPE html>
<html lang="en">
<!-- begin::Head -->
<head>
<meta charset="utf-8" />
<title>规则平台</title>
<meta name="description" content="Latest updates and statistic charts">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport"
	content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!--begin::Web font -->

<!--end::Web font -->
<!--begin::Base Styles -->
	<link href="/css/base/vendors.bundle.css" rel="stylesheet"
		  type="text/css" />
	<link href="/css/demo/style.bundle.css" rel="stylesheet"
		  type="text/css" />
	<!--end::Base Styles -->
	<link href="/css/custom/custom.css" rel="stylesheet" type="text/css" />
<style>
@media ( min-width : 600px) {     /*上面将浏览器宽度小于等于600px时，应用 style A 。*/
	.modal-dialog {
		max-width: 800px;
	}
}
</style>
</head>
<!-- end::Head -->
<!-- end::Body -->
<body
	class="m-page--fluid m--skin- m-content--skin-light2 m-aside-left--enabled m-aside-left--skin-dark m-aside-left--offcanvas
m-footer--push m-aside--offcanvas-default">
	<div class="m-grid m-grid--hor m-grid--root m-page">
		<div
			class="m-grid__item m-grid__item--fluid m-grid m-grid--ver-desktop m-grid--desktop">
			<div class="m-content w100">
				<div class="m-portlet m--margin-bottom-10">
					<div class="m-portlet__body">
						<!-- begin from -->
						<form
							class="m-form m-form--fit m-form--label-align-right m-form--group-seperator-dashed">
							<div class="form-group m-form__group row">
								<label class="col-form-label col-lg-1 col-md-1 col-sm-1">用户类型</label>
								<div class="col-lg-2 col-md-2 col-sm-2">
									<select id="find_usertype" class="form-control m-input" name="find_usertype">
									</select>
								</div>
								<label class="col-form-label col-lg-1 col-md-1 col-sm-1">用户名</label>
								<div class="col-lg-2 col-md-2 col-sm-2">
									<input class="form-control m-input" id="find_username"
										   placeholder="请输入用户名" type="text" />
								</div>

								<label class="col-form-label col-lg-1 col-md-1 col-sm-1">用户MAC地址</label>
								<div class="col-lg-2 col-md-2 col-sm-2">
									<input class="form-control m-input" id="find_usermac"
										placeholder="请输入告用户MAC地址" type="text" />
								</div>

								<label class="col-form-label col-lg-1 col-md-1 col-sm-1">用户地址</label>
								<div class="col-lg-2 col-md-2 col-sm-2">
									<input class="form-control m-input" id="find_useradress"
										   placeholder="请输入用户地址" type="text" />
								</div>
							</div>
								<div class="form-group m-form__group row">
									<label class="col-form-label col-lg-1 col-md-1 col-sm-1">内网电话</label>
									<div class="col-lg-2 col-md-2 col-sm-2">
										<input class="form-control m-input" id="find_innerphone"
											   placeholder="请输入内网电话" type="text" />
									</div>
								<div class="my-btn-toolbar">
									<div>
										<button class="btn btn-accent" type="button" id="search">&nbsp;查&nbsp;&nbsp;询&nbsp;</button>
										<button class="btn btn-metal" type="button" id="reset">&nbsp;重&nbsp;&nbsp;置&nbsp;</button>
									</div>
								</div>
							</div>
						</form>
						<!-- end from -->
					</div>
				</div>
				<div class="m-portlet">
					<div class="m-portlet__body">
						<div
							class="m-stack m-stack--ver m-stack--general rask-data m--margin-bottom-20 w400">
							<div
								class="m-stack__item m-stack__item--middle m-stack__item--left">
								<a data-toggle="modal" data-target="#add_modal"
									href="javascript:;" id="initModel"
									class="btn btn-info m-btn m-btn--icon"> <span> <i
										class="la la-plus"></i> <span>新建</span>
								</span>
								</a>
							</div>
							<div
								class="m-stack__item m-stack__item--middle m-stack__item--left">
								<a href="javascript:;" class="btn btn-primary m-btn m-btn--icon"
									id="updateAction" data-toggle="modal"> <span> <i
										class="la la-edit"></i> <span>修改</span>
								</span>
								</a>
							</div>
							<div
								class="m-stack__item m-stack__item--middle m-stack__item--left">
								<a href="javascript:;" class="btn btn-danger m-btn m-btn--icon"
									id="deleteAction"> <span> <i class="la la-trash"></i>
										<span>删除</span>
								</span>
								</a>
							</div>
							<div
									class="m-stack__item m-stack__item--middle m-stack__item--left">
								<!--begin: Dropdown-->
								<div class="m-dropdown m-dropdown--inline  m-dropdown--arrow"
									 data-dropdown-toggle="click">
									<a href="javascript:;" class="btn btn-info m-btn  m-dropdown__toggle dropdown-toggle">
												<span>
													<i class="la la-sign-out"></i>
													<span> 导出</span>
												</span>
									</a>

									<div class="m-dropdown__wrapper">
										<span class="m-dropdown__arrow m-dropdown__arrow--left"></span>
										<div class="m-dropdown__inner">
											<div class="m-dropdown__body">
												<div class="m-dropdown__content">
													<ul class="m-nav">
														<li class="m-nav__section m-nav__section--first"><span
																class="m-nav__section-text"> 导出excel </span></li>
														<li class="m-nav__item" data-redirect="true"
															aria-haspopup="true"><a href="#" class="m-nav__link"
																					id="exportPartial" onclick="exportPartialAction()"> <i
																class="m-nav__link-icon la la-cloud-download "></i> <span
																class="m-nav__link-text"> 导出查询记录 </span>
														</a></li>
														<li class="m-nav__item" data-redirect="true"
															aria-haspopup="true"><a href="#" class="m-nav__link"
																					id="exportAll" onclick="exportAllAction()"> <i
																class="m-nav__link-icon la la-cloud"></i> <span
																class="m-nav__link-text"> 导出所有记录 </span>
														</a></li>
													</ul>
												</div>
											</div>
										</div>
									</div>
								</div>
								<!--end: Dropdown-->
							</div>
						</div>
						<div class="m_datatable" id="m_datatable_pzgl"></div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<!--begin::新建弹框-->
	<div class="modal fade" id="add_modal" tabindex="-1" role="dialog"
		 aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<h6 class="modal-title" >新建用户</h6>
					<button type="button" class="close" data-dismiss="modal"
							aria-label="Close" id="close_modal">
						<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<div class="modal-body">
					<form class="m-form m-form--fit m-form--label-align-right"
						  id="mainForm" enctype="multipart/form-data" method="post"
						  onsubmit="return check()">

						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户类型<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<select id="usertype" class="form-control m-input"
										name="usertype">

								</select>
							</div>

							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户名<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="user_Name"
									   placeholder="请输入用户名" type="text" />
							<!--	<select id="add_SignalType" name="add_SignalType"
										class="form-control m-input">
								</select>-->
							</div>

						</div>


						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户MAC地址<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="user_mac"
									   placeholder="请输入MAC地址" type="text" />
							</div>

							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户地址<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="user_address"
									   placeholder="请输入用户地址" type="text" />
							</div>
						</div>


						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								内网电话<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="inner_phone"
									   placeholder="请输入内网电话" type="text" />
							</div>
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								手机号码<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="user_telphone"
									   placeholder="请输入手机号码" type="text" />
							</div>
						</div>


						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								备注<span class="col-form-label-red-tips"></span>
							</label>
							<div class="col-lg-10 col-md-10 col-sm-12">
													<textarea rows="5" cols="20" class="form-control m-input"
															  id="remark" style="resize: none"></textarea>
							</div>
						</div>

						<div
								class="form-group m-form__group m-form__group-modal-btn-toolbar">
							<button class="btn btn-accent" id="submit" type="button">提&nbsp;交</button>
							<button class="btn btn-metal" id="reset2" type="button">重&nbsp;置</button>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!--end::新建弹框-->


<!--定位管理 修改-->
	<!--begin::修改弹框-->
	<div class="modal fade" id="update_modal" tabindex="-1"
		 role="dialog" aria-labelledby="exampleModalLabel"
		 aria-hidden="true" data-backdrop="static">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<h6 class="modal-title" id="exampleModalLabel">修改定位管理</h6>
					<button type="button" class="close" data-dismiss="modal"
							aria-label="Close" id="close_modal2">
						<span aria-hidden="true">&times;</span>
					</button>
				</div>
				<div class="modal-body">
					<form class="m-form m-form--fit m-form--label-align-right"
						  id="updateForm">
						<!-- 											<div class="form-group m-form__group row m--padding-bottom-0"> -->
						<input type="hidden" id="update_id" /> <input type="hidden"
																	  id="update_signal_code" /> <input type="hidden"
																										id="update_number" />

						<div class="form-group m-form__group row m--padding-bottom-0">

							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户类型<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<select id="update_usertype" class="form-control m-input"
										name="update_usertype">
								</select>
							</div>


							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户名<span class="col-form-label-red-tips">*</span>
							</label>

							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="update_user_Name"
									   type="text" />
							</div>

						</div>


						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户MAC地址<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="update_user_mac"
									    type="text" />
							</div>


							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								用户地址<span class="col-form-label-red-tips">*</span>
							</label>

							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="update_user_address"
									   type="text" />
							</div>

						</div>


						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								内网电话<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="update_inner_phone"
									    type="text" />
							</div>
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								手机号码<span class="col-form-label-red-tips">*</span>
							</label>
							<div class="col-lg-4 col-md-4 col-sm-12">
								<input class="form-control m-input" id="update_user_telphone"
									    type="text" />
							</div>
						</div>


						<div class="form-group m-form__group row m--padding-bottom-0">
							<label class="col-form-label col-lg-2 col-md-2 col-sm-12">
								备注<span class="col-form-label-red-tips"></span>
							</label>
							<div class="col-lg-10 col-md-10 col-sm-12">
													<textarea rows="5" cols="20" class="form-control m-input"
															  id="update_remark" style="resize: none"></textarea>
							</div>
						</div>
						<div
								class="form-group m-form__group m-form__group-modal-btn-toolbar">
							<button class="btn btn-accent" id="update_submit"
									type="button">提&nbsp;交</button>

						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<!--end::修改弹框-->


	<script src="/es6-promise/es6-promise.js"
		type="text/javascript"></script>
	<script src="/es6-promise/es6-promise.auto.js"
		type="text/javascript"></script>
	<script src="/assets/vendors/base/vendors.bundle.js"
		type="text/javascript"></script>
	<script src="/assets/demo/default/base/scripts.bundle.js"
		type="text/javascript"></script>

	<script src="/js/locationManagement.js" type="text/javascript"></script>

</body>
<!-- end::Body -->
</html>
